def test1(x, y):
    i = x + y
    print(i)
    return i


a = lambda x, y: x + y


def test2(x, y, func):
    return func(x, y)


# res = test2(1, 2, test1)
# print(res)

# res = test2(1, 2, a)
res = test2(1, 2, lambda x, y: x + y)
print(res)